﻿<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">Danh mục tiền</h4>
            </div>

            <div class="modal-body">
                <!-- The form is placed inside the body of modal -->
                <form id="CheckValid" method="post" class="form-horizontal">
                    <input type="hidden" id="ID" name="ID" />
                    <div class="form-group">
                        <label class="col-md-3 control-label">Mã tiền</label>
                        <div class="col-md-8">
                            <input type="text" id="Code" class="form-control" name="Code" data-bv-notempty="true"
                                data-bv-notempty-message="Mã số không để trống" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">Tên tiền</label>
                        <div class="col-md-8">
                            <input type="text" id="Name" class="form-control" name="Name" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">Đơn vị tiền</label>
                        <div class="col-md-8">
                            <select id="UOMID" name="UOMID" class="form-control">
                                @foreach (var item in ViewData["UOM"] as IEnumerable<Data.Models.UOM>)
                                { 
                                    <option value="@item.ID">@item.Name</option>
                                }
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">Ký hiệu </label>
                        <div class="col-md-8">
                            <input type="text" id="Symbol" class="form-control" name="Symbol" />
                        </div>
                    </div>
                    @*<div class="form-group">
                        <label class="col-md-3 control-label">Trạng thái </label>
                        <div class="col-md-8">
                            <select id="Status" name="Status" class="form-control">
                                <option value="0">--Hãy chọn trạng thái--</option>
                                <option value="1">Trạng thái 1</option>
                                <option value="2">Trạng thái 2</option>
                                <option value="3">Trạng thái 3</option>
                            </select>
                        </div>
                    </div>*@
                    <div class="form-group">
                        <label class="col-md-3 control-label">Mô tả </label>
                        <div class="col-md-8">
                            <textarea id="Descripttion" name="Descripttion" class="form-control" rows="5"></textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-8 col-md-offset-3">
                           <button type="submit" class="btn btn-default" style="width:100px;">Lưu</button>
                          <button type="button" class="btn btn-default" style="width:100px;" data-dismiss="modal" aria-hidden="true">Hủy</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
